<#assign assign_ClassName = content.items.entity.className>
package ${content.items.entity.packageName};
import com.techwebsite.common.base.BaseDto;
import javax.validation.constraints.NotNull;
import lombok.Data;
<#if content.content.imports??>
	<#list content.content.imports as impt>
import ${impt};
	</#list>
</#if>

/**
 * <#if content.content.remark??>${content.content.remark}</#if>
 * @author kjgw
 */ 
<#if content.content.annotations??>
	<#list content.content.annotations as anno>
${anno}
	</#list>
</#if>
@Data
public class ${assign_ClassName} extends BaseDto  {
	<#list content.content.fields as item> 
	<#if item.annotations??>
		<#list item.annotations as anno>
	${anno}
		</#list>
	</#if>
	<#if item.primary == true>
	@NotNull(message = "${item.fieldRemark?default("")}为空")
	private ${item.fieldType} ${item.fieldName};<#if item.fieldRemark??>//${item.fieldRemark}</#if>
	<#else>
	private ${item.fieldType} ${item.fieldName};<#if item.fieldRemark??>//${item.fieldRemark}</#if>
	</#if>
	</#list>
}
